@import "../base/color.scss";
@import "../base/mixin.scss";

$nav-height: 50px;
$menu-width: 200px;

.main {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  color: $black_1;
  background-color: $white_2;
  font-size: 14px;
  display: flex;
  .left-menu {
    flex: 0 0 $menu-width;
    width: $menu-width;
    height: 100%;
  }
  .main-right {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }
  .main-right-header {
    width: 100%;
    height: 46px;
    background:$white_1;
    box-shadow:0px 2px 6px 0px rgba(0,0,0,0.1);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .el-breadcrumb__separator{
      font-weight: 400;
    }
    .el-breadcrumb__inner{
      color: $black_6 !important;
    }
    .breadcrumb_help{
      font-size: 18px;
      color: $black_6;
      cursor: pointer;
    }
  }
  .main-wrapper {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
  }
  .main-searchbar {
    flex: 0 0 auto;
  }
  .main-toolbar {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    padding: 5px 10px 15px;
    box-sizing: border-box;
    .el-button {
      margin-top: 10px;
      padding: 0 12px 0 10px;
      &:first-child {
        margin-left: 10px;
      }
      .svg-icon {
        font-size: 12px;
      }
    }
  }

  .main-content {
    flex: 1 1 auto;
    width: 100%;
    overflow-y: auto;
    &.table-pagination {
      padding: 0 20px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      .el-table {
          flex: 1 1 auto;
      }
      .el-pagination {
          padding: 15px 20px;
      }
    }
  }
}
